<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" Title="Prueba de C#" CodeFile="~/Vista/IngresarEmpleado.aspx.cs" Inherits="MasterPage2"%>

<%@ MasterType TypeName="MasterPage" %>


<asp:content id="Content1" contentplaceholderid="principal" runat="server">


     <table border="0" cellspacing="0" class="fondo_azul">
                <tr>
                    <td colspan="3" class="titulos">Empleado</td>
                </tr>
                <tr>
                <td class="campos_formulario" align="right">Nombre:</td>
                <td>
                    <asp:TextBox ID="txtNombre" runat="server" MaxLength="60"></asp:TextBox>
                                        <ajaxToolkit:FilteredTextBoxExtender ID="filtroNombre" 
                        runat="server" FilterType="Custom, UppercaseLetters, LowercaseLetters" 
                        TargetControlID="txtNombre" ValidChars=" ">
                    </ajaxToolkit:FilteredTextBoxExtender>
                                        </td>
                <td class="obligatorio">*</td>
                </tr>
                <tr>
                <td class="campos_formulario" align="right">Apellido</td>
                <td>
                    <asp:TextBox ID="txtApellido" runat="server" MaxLength="60"></asp:TextBox>
                                        <ajaxToolkit:FilteredTextBoxExtender ID="filtroApellido" 
                        runat="server" FilterType="Custom, UppercaseLetters, LowercaseLetters" 
                        TargetControlID="txtApellido" ValidChars=" ">
                    </ajaxToolkit:FilteredTextBoxExtender>
                                        </td>
                 <td class="obligatorio">*</td>
                </tr>   
                <tr>             
                <td class="campos_formulario" align="right">C.I.:</td>
                <td>
                    <asp:TextBox ID="txtCedula" runat="server"></asp:TextBox>
                                        <ajaxToolkit:FilteredTextBoxExtender ID="filtroCedula" 
                        runat="server" FilterType="Numbers" TargetControlID="txtCedula">
                    </ajaxToolkit:FilteredTextBoxExtender>
                                        </td>
                <td class="obligatorio">*</td>
                </tr>
                <tr>             
                <td class="campos_formulario" align="right">Tipo de Cuenta:</td>
                <td>
                    <asp:DropDownList ID="txtTipoc" runat="server" Width="154px">
                        <asp:ListItem>Seleccionar...</asp:ListItem>
                        <asp:ListItem>Ahorro</asp:ListItem>
                        <asp:ListItem>Corriente</asp:ListItem>
                        <asp:ListItem>Maxima</asp:ListItem>
                    </asp:DropDownList>
                                        </td>
                <td class="obligatorio">&nbsp;</td>
                </tr>
                <tr>             
                <td class="campos_formulario" align="right">Numero de Cuenta:      </ajaxToolkit:FilteredTextBoxExtender>
                                        </td>
                <td class="obligatorio">
                    <asp:TextBox ID="txtNumeroc" runat="server"></asp:TextBox>
                    <ajaxToolkit:FilteredTextBoxExtender ID="filtroNumeroc" runat="server" 
                        FilterType="Numbers" TargetControlID="txtNumeroc">
                    </ajaxToolkit:FilteredTextBoxExtender>
                                        </td>
                </tr>
                  <tr>             
                <td class="campos_formulario" align="right">Sueldo Base:</td>
                <td>
                    <asp:TextBox ID="txtSueldo" runat="server"></asp:TextBox>
                    <ajaxToolkit:FilteredTextBoxExtender ID="filtroSueldo" 
                        runat="server" FilterType="Numbers,Custom" TargetControlID="txtSueldo" 
                        ValidChars = ".">
                    </ajaxToolkit:FilteredTextBoxExtender>
                                        </td>
                <td class="obligatorio">*</td>
                </tr> 
                  <tr>             
                <td class="campos_formulario" align="right">Bono:</td>
                <td>
                    <asp:TextBox ID="txtBono" runat="server"></asp:TextBox>
                                        <ajaxToolkit:FilteredTextBoxExtender ID="filtroBono" 
                        runat="server" TargetControlID="txtBono" FilterType="Custom, Numbers" 
                        ValidChars=".">
                    </ajaxToolkit:FilteredTextBoxExtender>
                                        </td>
                <td class="obligatorio">&nbsp;</td>
                </tr> 
               <tr>
               
                <td style="height:50px;" align="center" colspan="3">
                <asp:Button ID="Button1" runat="server" Text="Procesar" OnClick="agregarEmpleado" class="botones" />   
                </td>
               </tr>
      
        </table>           
                      

              
 
         
  

      
   
</asp:content>




